package server.business.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.CacheNamespace;
import server.business.pojo.OverallBlood;
import server.main.config.cache.MybatisPlusRedisCache;
import server.business.pojo.TransfusionReview;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @author Galaxy
 * @description 针对表【transfusion_review】的数据库操作Mapper
 * @createDate 2022-11-08 12:46:25
 * @Entity server.business.pojo.TransfusionReview
 */
@Mapper
// @CacheNamespace(implementation = MybatisPlusRedisCache.class)
public interface TransfusionReviewMapper extends BaseMapper<TransfusionReview> {
    void updateRecord1(String transfusionNumber, String rejectReason, String state);

    void updateRecord(String transfusionNumber, String state);

    String getStateByTranNumber(String transfusionNumber);

    void insertRecord(String transfusionNumber);
    // void rejectRecord(String rejectReason,String transfusionNumber);

}
